<admintpl file="header" />
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">订单修改</a></li>
	</ul>
	<form class="form-horizontal js-ajax-form" action="{:U('Bdrunpeople/order_post')}" method="post">
		<div class="row-fluid">
			<div class="span12" >
				<table class="table table-bordered" style="align-content: center">
					<tr>
						<th width="80">{:L('ORDER_NUMBER')}:</th>
						<td>{$data.order_number}
						</td>
						<th width="80">{:L('ORDER_TIME')}:</th>
						<td >{$data.order_time}
						</td>
						<th width="80">{:L('ORDER_TYPE')}:</th>
						<td >
							<select class="select_2" name="is_audit"  style="width: 100px;" >
								<option value='1'{$data.order_type==1?selected:''}>取送订单</option>
								<option value='2'{$data.order_type==2?selected:''}>代买订单</option>
								<option value='3'{$data.order_type==3?selected:''}>代排队订单</option>
							</select>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('JOB_NUMBER')}:</th>
						<td>{$data.job_number}
						</td>
						<th width="80">{:L('DISPATCH_NAME')}:</th>
						<td>{$data.dispatch_name}
						</td>
						<th width="80">{:L('MOBILE')}:</th>
						<td>{$data.mobile}
						</td>
					</tr>
					<tr>
						<th width="80">{:L('CONVEYANCE_ID')}:</th>
						<td><select class="select_2" name="convyance_id"  style="width: 100px;" >
							<option value='1'{:I("$data.order_type")==1?selected:''}>电动车</option>
							<option value='2'{:I("$data.order_type")==2?selected:''}>出租车</option>
							<option value='3'{:I("$data.order_type")==3?selected:''}>私家车</option>
							<option value='4'{:I("$data.order_type")==4?selected:''}>代排队</option>
						</select>
						</td>
						<th width="80">{:L('RECI_MOBILE')}:</th>
						<td><input type="text" style="width: 100px;" name="reci_mobile" required value="{$data.reci_mobile}"/>
						</td>
						<th width="80">{:L('RECI_ADDRESS')}:</th>
						<td><input type="text" style="width: 100px;" name="reci_address" required value="{$data.reci_address}"/>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('RECI_LATIT')}:</th>
						<td>
							<input type="text" style="width: 100px;" name="reci_latit" required value="{$data.reci_latit}"/>
						</td>
						<th width="80">{:L('RECI_LONGIT')}:</th>
						<td>
							<input type="text" style="width: 100px;" name="reci_longit" required value="{$data.reci_longit}"/>
						</td>

						<th width="80">{:L('SEND_MOBILE')}:</th>
						<td><input type="text" style="width: 100px;" name="send_mobile" required value="{$data.send_mobile}"/>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('SEND_ADDRESS')}:</th>
						<td><input type="text" style="width: 100px;" name="send_address" required value="{$data.send_address}"/>
						</td>
						<th width="80">{:L('SEND_LATIT')}:</th>
						<td>
							<input type="text" style="width: 100px;" name="send_latit" required value="{$data.send_latit}"/>
						</td>
						<th width="80">{:L('SEND_LONGIT')}:</th>
						<td>
							<input type="text" style="width: 100px;" name="send_longit" required value="{$data.send_longit}"/>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('IS_RESERVATION')}:</th>
						<td>
							<select class="select_2" name="is_reservation"  style="width: 70px;" >
								<option value='0'{$data.is_reservation==0?selected:''}>否</option>
								<option value='1'{$data.is_reservation==1?selected:''}>是</option>
							</select>
						</td>
						<th width="80">{:L('IS_INCUBATOR')}:</th>
						<td>
							<select class="select_2" name="is_incubator"  style="width: 70px;" >
								<option value='0'{$data.is_incubator==0?selected:''}>否</option>
								<option value='1'{$data.is_incubator==1?selected:''}>是</option>
							</select>
						</td>
						<th width="80">{:L('IS_INSURANCE')}:</th>
						<td>
							<select class="select_2" name="is_insurance"  style="width: 70px;" >
								<option value='0'{$data.is_insurance==0?selected:''}>否</option>
								<option value='1'{$data.is_insurance==1?selected:''}>是</option>
							</select>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('INSURANCE_AMOUNT')}:</th>
						<td>
							<input type="text" style="width: 100px;" name="insurance_amount" required value="{$data.insurance_amount}"/>
						</td>
						<th width="80">{:L('IS_COLLECTION')}:</th>
						<td>
							<select class="select_2" name="is_collection"  style="width: 70px;" >
								<option value='0'{$data.is_collection==0?selected:''}>否</option>
								<option value='1'{$data.is_collection==1?selected:''}>是</option>
							</select>
						</td>
						<th width="80">{:L('ORDER_AMOUNT')}:</th>
						<td><input type="text" style="width: 100px;" name="order_amount" required value="{$data.order_amount}"/>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('REAL_AMOUNT')}:</th>
						<td>
							<input type="text" style="width: 100px;" name="real_amount" required value="{$data.real_amount}"/>
						</td>
						<th width="80">{:L('COUPON_ID')}:</th>
						<td>
							{$data.coupon_id}
						</td>

						<th width="80">{:L('DEDUCT_AMOUNT')}:</th>
						<td><input type="text" style="width: 100px;" name="deduct_amount" required value="{$data.deduct_amount}"/>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('TOTAL_MILEAGE')}:</th>
						<td><input type="text" style="width: 100px;" name="total_mileage" required value="{$data.total_mileage}"/>
						</td>
						<th width="80">{:L('LINE_MAP')}:</th>
						<td>
							<img src="{$data.line_map}" />
						</td>
						<th width="80">{:L('PAY_STATUS')}:</th>
						<td>
							<select class="select_2" name="pay_status"  style="width: 70px;" >
								<option value='0'{$data.pay_status==0?selected:''}>未支付</option>
								<option value='1'{$data.pay_status==1?selected:''}>已支付</option>
								<option value='2'{$data.pay_status==2?selected:''}>已退款</option>
							</select>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('PAY_METHOD')}:</th>
						<td>
							<select class="select_2" name="pay_method"  style="width: 70px;" >
								<option value='0'{$data.pay_method==0?selected:''}>未支付</option>
								<option value='1'{$data.pay_method==1?selected:''}>已支付</option>
								<option value='2'{$data.pay_method==2?selected:''}>已退款</option>
							</select>
						</td>
						<th width="80">{:L('STATUS')}:</th>
						<td>
							<select class="select_2" name="is_sign"  style="width: 70px;" >
								<option value='-1'>全部</option>
								<option value='0'{$data.status==0?selected:''}>未处理</option>
								<option value='1'{$data.status==1?selected:''}>待分配</option>
								<option value='2'{$data.status==2?selected:''}>派件中</option>
								<option value='3'{$data.status==3?selected:''}>已到达</option>
								<option value='4'{$data.status==4?selected:''}>已完成</option>
								<option value='9'{$data.status==9?selected:''}>已取消</option>
							</select>
						</td>
						<th width="80">{:L('IS_RETURN_ORDER')}:</th>
						<td>
							<select class="select_2" name="is_return_order"  style="width: 70px;" >
								<option value='0'{$data.is_return_order==0?selected:''}>否</option>
								<option value='1'{$data.is_return_order==1?selected:''}>是</option>
							</select>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('DISPATCH_START_TIME')}:</th>
						<td>	{$data.dispatch_start_time}
						</td>
						<th width="80">{:L('DISPATCH_END_TIME')}:</th>
						<td>{$data.dispatch_end_time}
						</td>
						<th width="80">{:L('CANCEL_TIME')}:</th>
						<td>{$data.cancel_time}
						</td>
					</tr>
					<tr>
						<th width="80">{:L('CANCEL_REASON_ID')}:</th>
						<td>
							<select class="select_2" name="cancel_reason_id"  style="width: 70px;" >
								<option value='1'{$data.cancel_reason_id==0?selected:''}>理由一</option>
								<option value='2'{$data.cancel_reason_id==1?selected:''}>理由二</option>
							</select>
						</td>
						<th width="80">{:L('CANCEL_PARTY')}:</th>
						<td>
							<select class="select_2" name="cancel_party"  style="width: 70px;" >
								<option value='1'{$data.cancel_party==0?selected:''}>用户取消</option>
								<option value='2'{$data.cancel_party==1?selected:''}>派单员取消</option>
							</select>
						</td>
						<th width="80">{:L('GET_TIME')}:</th>
						<td>{$data.get_time}
						</td>
					</tr>
					<tr>
						<th width="80">{:L('DISP_ARRIVE_TIME')}:</th>
						<td>{$data.disp_arrive_time}
						</td>
						<th width="80">{:L('DISP_BEFORE_IMG')}:</th>
						<td><img src="{$data.disp_before_img}" />
						</td>
						<th width="80">{:L('USER_EVAL_VALUE')}:</th>
						<td><input type="text" style="width: 100px;" name="user_eval_value" required value="{$data.user_eval_value}"/>
						</td>
					</tr>
					<tr>
						<th width="80">{:L('DISP_EVAL_VALUE')}:</th>
						<td><input type="text" style="width: 100px;" name="disp_eval_value" required value="{$data.disp_eval_value}"/>
						</td>
						<th width="80">{:L('HELP_GOODS_DESC')}:</th>
						<td><input type="text" style="width: 100px;" name="help_goods_desc" required value="{$data.help_goods_desc}"/>
						</td>
						<th width="80">{:L('HELP_GOODS_AMOUNT')}:</th>
						<td><input type="text" style="width: 100px;" name="help_goods_amount" required value="{$data.help_goods_amount}"/>
						</td>
					</tr>
				</table>
			</div>
		</div>

		<div class="control-group">
			<th width="80">{:L('GET_VALI_CODE')}:</th>
			<td>{$data.get_vali_code}
			</td>
			<label class="control-label">{:L('REMARK')}:</label>
			<TEXTAREA name="audit_idear" value="{$data['remark']}" rows="5" cols="45"></TEXTAREA>
			<span class="form-required">*</span>

		</div>
		</table>

		<div class="form-actions">
			<input type="hidden" name="id" value="{$data.order_id}"/>
			<input type="hidden" name="id" value="{$formget.job_number}"/>
			<input type="hidden" name="id" value="{$formget.dispatch_name}"/>
			<input type="hidden" name="id" value="{$formget.start_time}"/>
			<input type="hidden" name="id" value="{$formget.end_time}"/>
			<input type="hidden" name="id" value="{$formget.order_type}"/>
			<input type="hidden" name="id" value="{$formget.status}"/>
			<input type="hidden" name="id" value="{$formget.is_reservation}"/>
			<input type="hidden" name="id" value="{$formget.is_valid}"/>
			<button type="submit" class="btn btn-primary  js-ajax-submit">{:L('SAVE')}</button>
			<a class="btn" href="{:U('Bdrunpeople/order_list',array('formget'=>$formget))}">{:L('BACK')}</a>
		</div>
	</form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>